Computes the length of the positive half of a discrete Fourier transform for a specific signal length.
The length of the discrete Fourier transform is determined as follows.
If n is even,
else; .
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | n |
The signal length (length of the signal put forth to the Fourier transform). |
The length of the positive half of the discrete Fourier transform.